import request from '@/utils/request.js'

export const searchOut = (searchParams) => {
    return request({
        url: '/dormstu/absence',
        method: 'post',
        data: searchParams
    })
}

export const addOut = (addParams) => {
    return request({
        url: '/dormstu/absence/add',
        method: 'post',
        data: addParams
    })
}

export const updateOut = (updateParams) => {
    return request({
        url: '/dormstu/absence/update',
        method: 'post',
        data: updateParams
    })
}

export const deleteOut = (deleteParams) => {
    return request({
        url: '/dormstu/absence/delete',
        method: 'post',
        data: deleteParams
    })
}
